/**
 * Copyright (c) 2005-2011 by Appcelerator, Inc. All Rights Reserved.
 * Licensed under the terms of the Eclipse Public License (EPL).
 * Please see the license.txt included with this distribution for details.
 * Any modifications to this file must keep this entire header intact.
 */
package org.python.pydev.ast.refactoring;

public class TooManyMatchesException extends RuntimeException {

    private int matches;

    public TooManyMatchesException(String msg, int matches) {
        super(msg);
        this.setMatches(matches);
    }

    public void setMatches(int matches) {
        this.matches = matches;
    }

    public int getMatches() {
        return matches;
    }

}
